# https://www.cnblogs.com/hutonm/p/5624996.html
class Solution():
    def traulingZeros(self, n):
        r = 0
        while n >= 5:
            n //= 5
            r += n
        return r